#include <stdio.h>
#include <stdlib.h>

int main()
{
	int b,c, sum;
	int n;  //n元
	printf("请输入金额(分): ");
	scanf("%d",&n);
	
	//n = n*100;  //元变为分
	
	sum = 0;
	for(b=0;b<=n/2;b++)
		for(c=0;c<=n/5;c++)
				if( 2*b + 5*c <= n ) sum ++;
				
	
	printf("总的方案数是: %d \n", sum);
	
	return 0;
}
